﻿using System;
using System.Collections.ObjectModel;
using System.Xml.Serialization;

namespace EpiNEXT.Core.Fields
{
    [Serializable()]
    public class GroupField : Field
    {
        public GroupField()
            : base()
        {
            FieldIds = new ObservableCollection<Guid>();
        }

        [XmlArray("FieldIds")]
        [XmlArrayItem("FieldId", typeof(Guid))]
        public ObservableCollection<Guid> FieldIds { get; set; }

        [XmlElement]
        public double Width { get; set; }

        [XmlElement]
        public double Height { get; set; }
    }
}
